home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / help / en / sbasic.jar / text / sbasic / common / 01030200.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  7.9 KB  |  110 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>The Basic Editor</title><meta name="filename" content="text/sbasic/common/01030200"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle2{
  5.                 }
  6.         span.Tabelle2A{
  7.                 width:18cm;}
  8.         table.Tabelle1{
  9.                 }
  10.         span.Tabelle1A{
  11.                 width:1.499cm;}
  12.         span.Tabelle1B{
  13.                 width:16.501cm;}
  14.         td.Tabelle1A1{
  15.                 }
  16.         table.Tabelle3{
  17.                 }
  18.         span.Tabelle3A{
  19.                 width:1.499cm;}
  20.         span.Tabelle3B{
  21.                 width:16.501cm;}
  22.         td.Tabelle3A1{
  23.                 }
  24.         p.P1{
  25.                 }
  26.         p.P2{
  27.                 }
  28.         p.P3{
  29.                 }
  30.         p.P4{
  31.                 }
  32.         p.P5{
  33.                 }
  34.         span.T1{
  35.                 font-weight:bold;}
  36.         span.fr1{
  37.                 }
  38.         span.fr2{
  39.                 }
  40.         </style></head><body>
  41.    
  42.    
  43.    <help:to-be-embedded Eid="basiceditor" xmlns:help="http://openoffice.org/2000/help">
  44.    <p class="Head1"><help:link Id="66459">The Basic Editor</help:link></p>
  45.    <p class="Paragraph">Following is a general introduction to the <help:productname>%PRODUCTNAME</help:productname> Basic Editor.</p>
  46.    </help:to-be-embedded>
  47.    <p class="Paragraph">The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the <span class="T1">Edit</span> menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (e.g., moving from word to word with <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">(Option)</help:case><help:default>(Ctrl)</help:default></help:switch> and the arrow keys).</p>
  48.    <p class="Head2">Navigating in a Project</p>
  49.    <p class="Paragraph"><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic several functions that enable you to navigate your way through complex <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic projects. The following sections describe these aids in detail:</p>
  50.    <p class="Head3">Using the Library List Box in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic Toolbar</p>
  51.    <p class="Paragraph">In the <span class="T1">Library</span> list box at the left of the toolbar, you can click on any entry to switch to the first module of a corresponding library.</p>
  52.    <p class="Head3">Using the Object Catalog to Move within a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic Project</p>
  53.    <p class="Paragraph">The object catalog aids you in navigating within complex projects consisting of several libraries and corresponding modules. Proceed as follows:</p>
  54.    <ul class="L1">
  55.     <li class="">
  56.      <p class="P2">Click the <span class="T1">Object Catalog</span> icon in the toolbar.</p>
  57.     </li>
  58.    </ul>
  59.    <table><tr class=""><th style="text-align:left;"><span class="Tabelle2A">
  60.        <p class="TextInTable"><draw:image draw:style-name="fr1" draw:name="Grafik2" text:anchor-type="paragraph" svg:width="9.895cm" svg:height="8.811cm" draw:z-index="1" xlink:href="66856" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  61.       </span></th></tr></table>
  62.    <p class="Paragraph"/>
  63.    <table><tr class=""><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  64.        <p class="TextInTable"><draw:image draw:style-name="fr2" draw:name="HIND_1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="65980" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  65.       </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  66.        <p class="TextInTable">The object catalog remains visible even when you click back in the Editor window.</p>
  67.       </span></th></tr></table>
  68.    <p class="Paragraph"/>
  69.    <ul class="L2">
  70.     <li class="">
  71.      <p class="P3">In the dialog, you will find a list of all existing objects. Many objects (documents, templates, the application itself and the respective libraries and modules) contain subitems that you can double-click to hide or show.</p>
  72.     </li>
  73.     <li class="">
  74.      <p class="P3">To display a certain module in the Editor or to position the cursor directly in a specific SUB or FUNCTION of a module, select the corresponding entry and click <span class="T1">Show</span>.</p>
  75.     </li>
  76.     <li class="">
  77.      <p class="P3">Close the object catalog by clicking the (x) icon in the title bar.</p>
  78.     </li>
  79.    </ul>
  80.    <p class="Head2">Saving and Loading Basic Source Text <help:key-word value="Export; Basic program code" tag="kw66459_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Basic program code; Export" tag="kw66459_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Import; Basic program code" tag="kw66459_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Basic program code; Import" tag="kw66459_2" xmlns:help="http://openoffice.org/2000/help"/></p>
  81.    <p class="Paragraph"><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic allows you to export Basic program code to other programming systems, or to import Basic program code in ASCII format.</p>
  82.    <table><tr class=""><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  83.        <p class="TextInTable"><draw:image draw:style-name="fr2" draw:name="Grafik1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="2" xlink:href="65640" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  84.       </span></th><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3B">
  85.        <p class="TextInTable">Exporting of Basic dialogs is not possible.</p>
  86.       </span></th></tr></table>
  87.    <p class="Paragraph"/>
  88.    <p class="Head3">This is how you can save the program code of a module as ASCII text</p>
  89.    <ul class="L3">
  90.     <li class="">
  91.      <p class="P4">From the object catalog, select the program code of a module that you want to export as ASCII text.</p>
  92.     </li>
  93.     <li class="">
  94.      <p class="P4">Click the <span class="T1">Save Source As</span> icon in the Macro toolbar. <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic opens a file selection dialog, where you can define a file name.</p>
  95.     </li>
  96.     <li class="">
  97.      <p class="P4">Enter the path specification and file name <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>and click <span class="T1">OK</span> to save the file.</p>
  98.     </li>
  99.    </ul>
  100.    <p class="Head3">How to insert ASCII program code at the cursor position</p>
  101.    <ul class="L4">
  102.     <li class="">
  103.      <p class="P5">From the object catalog, select the program code of the module that you want to import as ASCII text.</p>
  104.     </li>
  105.     <li class="">
  106.      <p class="P5">Position the cursor where you want to insert the program code.</p>
  107.     </li>
  108.    </ul>
  109.    <p class="Paragraph"><span class="T1">Click the Insert Source Text</span> icon in the Macro toolbar. In the dialog that follows, select the path and name of the file containing the program code and click <span class="T1">OK</span>.</p>
  110.   </body></html>